package com.jinhua.admin.vo;
import com.jinhua.admin.entity.ProductPo;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 商品表
*/
@Data
@NoArgsConstructor
public class ProductVo {
    
    /**
    *商品表的Id,修改或者查询的需要
    *
    */
    
    private Long id;
    
    /**
    *商品名称
    *
    */
    
    private String name;
    
    /**
    *库存
    *
    */
    
    private Integer count;
    public ProductPo copyProductPo() {
        ProductPo  po=new ProductPo();
        org.springframework.beans.BeanUtils.copyProperties(this, po);
        return po;
    }
}
